<template>
  <div class="layout-page">
    <div>首页架子 - 内容区域</div>

    <div>
      <!-- 路由入口 -->
      <router-view></router-view>
      <!-- 底部菜单导航 -->
      <van-tabbar route>
        <van-tabbar-item replace to="/article" icon="notes-o  ">面经</van-tabbar-item>
        <van-tabbar-item replace to="/collect" icon="star-o">收藏</van-tabbar-item>
        <van-tabbar-item replace to="/like" icon="like-o">喜欢</van-tabbar-item>
        <van-tabbar-item replace to="/user" icon="contact-o">我的</van-tabbar-item>
      </van-tabbar>
    </div>
  </div>
</template>

<script>
export default {
  name: 'LayoutPage',
  data () {
    return {
      active: 0
    }
  }
}
</script>

<style lang="less" scoped></style>
